#ifndef COMMENTMANAGEMENT_H
#define COMMENTMANAGEMENT_H

#include "commentform.h"
#include "replycomment.h"
#include <QWidget>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QMessageBox>
#include <QDebug>
#include <QSqlError>
#include <QInputDialog>
#include <QListWidgetItem>
#include <QListWidget>
#include <QKeyEvent>

namespace Ui {
class commentManagement;
}

class commentManagement : public QWidget
{
    Q_OBJECT

public:
    explicit commentManagement(QWidget *parent = nullptr);
    ~commentManagement();

private slots:


    void on_commentList_itemClicked(QListWidgetItem *item);

private:
    Ui::commentManagement *ui;
    QSqlDatabase db;
    void initList();
};

#endif // COMMENTMANAGEMENT_H
